<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="common/tag.jsp" %>

<!DOCTYPE html>
<html>
<head>
	<title>用户列表页</title>
	<%@ include file="common/head.jsp"%>
</head>
<body>
	<div class="container">
		<div class="panel panel-default">
			<div class="panel-heading text-center">
				<h2>Proyx列表</h2>
			</div>
			<div class="panel-body">
				<c:forEach items="${proxys}" var="proxy" varStatus="i">
					<div class="list-group">
						<c:forEach items="${proxy.map}" var="map">
							
							<a href="#" class="list-group-item active">
								<h4 class="list-group-item-heading">
									服务名称：${map.key}
								</h4>
							</a>
							<a href="#" class="list-group-item">
								<h4 class="list-group-item-heading">
									用户
								</h4>
								<p class="list-group-item-text">
									${map.value.user }
								</p>
							</a>
							<a href="#" class="list-group-item">
								<h4 class="list-group-item-heading">
									最后登录时间
								</h4>
								<p class="list-group-item-text">
									<fmt:formatDate value="${map.value.last_activity}" pattern="YYYY-MM-dd HH:mm:ss"/>
								</p>
							</a>
							<a href="#" class="list-group-item">
								<h4 class="list-group-item-heading">
									target
								</h4>
								<p class="list-group-item-text">
									${map.value.target }
								</p>
							</a>
						</c:forEach>
					</div>
				</c:forEach>
			</div>
		</div>
	</div>
</body>
	<!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
	<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</html>